AssetTransformPreset

A sealed interface that represents a transform preset.

Inheritors

Types

Link copied to clipboard

Snap the block's frame to the intrinsic aspect ratio of the block's content (e.g. the underlying image or video). The ratio is resolved at apply time.

Link copied to clipboard
data class FixedAspectRatio(val width: Float, val height: Float) : AssetTransformPreset.Representation
Link copied to clipboard
data class FixedSize(val width: Float, val height: Float, val designUnit: DesignUnit) : AssetTransformPreset.Representation
Link copied to clipboard